<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <title>自助分析平台</title>
</head>

<body>
    asdfasdf

    <script type="text/javascript">
        
function cccc() {
    var arr = [];
    for (var i = 0; i < 10; i ++) {
        var a;
        function xx() {

        }
        arr.push(xx);
        xx.gogogo = i;
    }
    return arr;
}   

var garr = cccc();

var str = []
for (var i = 0; i < garr.length; i ++) {
    str.push(garr[i].gogogo);
}

alert(str);


    </script>
    
</body>
</html>
